﻿using System.Windows;
using System.Windows.Forms;
using UserControl = System.Windows.Controls.UserControl;

namespace VMDS.GUIClient.Views.Management.VMs
{
    /// <summary>
    /// Interaction logic for MyModalDialog.xaml
    /// </summary>
    public partial class ScreenModalDialog : UserControl
    {
        public ScreenModalDialog()
        {
            InitializeComponent();
            
        }

        private void Button_Click(object sender, System.Windows.RoutedEventArgs e)
        {

            OpenFileDialog dialog=new OpenFileDialog() ;
            if (dialog.ShowDialog() == DialogResult.OK) PathBox.Text = dialog.FileName;

        }

        private void CancelBut_Click(object sender, System.Windows.RoutedEventArgs e)
        {
        	Visibility=Visibility.Hidden;
			// TODO: Add event handler implementation here.
        }

    }

}
